package com.leyou.user.api;

import com.leyou.user.pojo.User;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @version 1.0.0
 * @Author yong.Mr
 * @data 2019-8-9
 */
public interface UserApi {

    @GetMapping("/query")
    public User queryUser(
            @RequestParam("username") String username,
            @RequestParam("password") String password);
}
